gtk4.git
5 years agolistbase: Add rubberband selection
Matthias Clasen [Sun, 22 Dec 2019 00:07:11 +0000 (19:07 -0500)]
listbase: Add rubberband selection

Implement the typical rubberband selection, including
autoscroll. This is only useful with multiselection,
and not very compatible with single-click-activate.
Therefore, it is not enabled by default, and needs
to be turned on explicitly.

5 years agoAdd GtkMultiSelection
Matthias Clasen [Mon, 9 Dec 2019 06:19:38 +0000 (01:19 -0500)]
Add GtkMultiSelection

This is implemented using a private GtkSet helper.

Includes tests.

5 years agogtk-demo: Expand columns in the settings demo
Matthias Clasen [Wed, 3 Jun 2020 17:16:14 +0000 (13:16 -0400)]
gtk-demo: Expand columns in the settings demo

Expand the columns that are likely to appear
at the end.

5 years agoinspector: Expand the actions list
Matthias Clasen [Tue, 24 Dec 2019 16:14:37 +0000 (11:14 -0500)]
inspector: Expand the actions list

5 years agoinspector: Expand the resource list
Matthias Clasen [Tue, 24 Dec 2019 16:12:49 +0000 (11:12 -0500)]
inspector: Expand the resource list

This is an experiment with adding a filler column.

5 years agoinspector: Expand the property list
Matthias Clasen [Tue, 24 Dec 2019 16:12:22 +0000 (11:12 -0500)]
inspector: Expand the property list

It looks better this way.

5 years agoinspector: Expand the object tree
Matthias Clasen [Tue, 24 Dec 2019 16:11:51 +0000 (11:11 -0500)]
inspector: Expand the object tree

This is how it used to look, and it looks better that way.

5 years agocolumnview: Take expand into account
Matthias Clasen [Mon, 23 Dec 2019 04:10:46 +0000 (23:10 -0500)]
columnview: Take expand into account

When allocating columns, distribute extra space
to columns that have expand set to TRUE.

5 years agocolumnview: Add a GtkColumnViewColumn:expand property
Matthias Clasen [Mon, 23 Dec 2019 04:10:01 +0000 (23:10 -0500)]
columnview: Add a GtkColumnViewColumn:expand property

This will be used to determine how to distribute
available extra space in a column view.

5 years agocolumnview: Add autoscroll
Matthias Clasen [Sat, 21 Dec 2019 05:24:55 +0000 (00:24 -0500)]
columnview: Add autoscroll

Autoscroll when the pointer gets close to the
edge during column resizing or reordering. This
is similar to what the treeview does, but it is
implemented using a tick callback, and has
variable speed.

5 years agocolumnview: Allow to cancel reorder with Escape
Matthias Clasen [Sat, 21 Dec 2019 00:24:01 +0000 (19:24 -0500)]
columnview: Allow to cancel reorder with Escape

The treeview does this too.

5 years agocolumnview: Interactive column reordering
Matthias Clasen [Fri, 20 Dec 2019 22:29:35 +0000 (17:29 -0500)]
columnview: Interactive column reordering

Allow rearranging columns by dragging, in the same
way the treeview does.

We add the "dnd" style class to the header while
it is dragged, and we move the header of the dragged
column to the end of its parents children, so that
it gets drawn on top.

5 years agocolumnview: Add a GtkColumnView:reorderable property
Matthias Clasen [Wed, 3 Jun 2020 16:57:38 +0000 (12:57 -0400)]
columnview: Add a GtkColumnView:reorderable property

This property controls if users can reorder columns
by drag-and-drop. It defaults to TRUE.

5 years agocolumnviewlayout: Use header allocation for titles
Matthias Clasen [Fri, 20 Dec 2019 22:28:37 +0000 (17:28 -0500)]
columnviewlayout: Use header allocation for titles

Normally, this will be identical to the column
allocation, but we will temporarily change it
during column reordering.

5 years agocolumnviewcolumn: Add reordering helpers
Matthias Clasen [Fri, 20 Dec 2019 22:19:55 +0000 (17:19 -0500)]
columnviewcolumn: Add reordering helpers

Add helper functions that let us temporarily give
a different allocation to headers. These will be
used to implement interactive column reordering
in GtkColumnView.

5 years agocolumnviewtitle: Trigger action on release
Matthias Clasen [Fri, 20 Dec 2019 20:46:01 +0000 (15:46 -0500)]
columnviewtitle: Trigger action on release

This is necessary to make drag-to-reorder work
without triggering resorting.

5 years agogtk-demo: Make some columns resizable
Matthias Clasen [Wed, 3 Jun 2020 16:30:55 +0000 (12:30 -0400)]
gtk-demo: Make some columns resizable

Make the columns in the List > Settings demo
resizable, to demonstrate this functionality.

5 years agocolumnview: Interactive column resizing
Matthias Clasen [Mon, 1 Jun 2020 12:10:13 +0000 (08:10 -0400)]
columnview: Interactive column resizing

This copies just enough of the treeview code to
get columns moving.

5 years agocolumnviewcolumn: Add a helper
Matthias Clasen [Sat, 21 Dec 2019 04:01:55 +0000 (23:01 -0500)]
columnviewcolumn: Add a helper

We need to check whether clicks are in the headers
of columns, so let the column view get at the the
header widget.

5 years agocolumnview: Add a GtkColumnViewColumn:resizable property
Matthias Clasen [Fri, 20 Dec 2019 19:07:14 +0000 (14:07 -0500)]
columnview: Add a GtkColumnViewColumn:resizable property

This will be used for interactive column resizing
in the future.

5 years agocolumnview: Add a helper
Matthias Clasen [Wed, 18 Dec 2019 17:51:15 +0000 (12:51 -0500)]
columnview: Add a helper

The column code needs to get access to the
listitem widgets that are children of the listview,
so add a getter.

5 years agocolumnview: Add GtkColumnViewColumn:fixed-width
Matthias Clasen [Mon, 1 Jun 2020 01:07:38 +0000 (21:07 -0400)]
columnview: Add GtkColumnViewColumn:fixed-width

Add a fixed-width property similar to the same property
of GtkTreeViewColumn.

5 years agocolumnview: Implement horizontal scrolling
Matthias Clasen [Mon, 1 Jun 2020 01:09:00 +0000 (21:09 -0400)]
columnview: Implement horizontal scrolling

The listview inside always thinks it gets its full size,
and updates its horizontal adjustment accordingly.

So keep our own adjustment, and update it when allocating.

5 years agocolumnview: Revise scroll-minimum handling
Matthias Clasen [Tue, 17 Dec 2019 00:22:03 +0000 (19:22 -0500)]
columnview: Revise scroll-minimum handling

Tweak the behavior slightly. We don't show
a scrollbar as long as we have at least
min-size available, but we still give the
entire size to the child, up to nat-size.

This matches how viewports handle scroll-minimum.

5 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Wed, 3 Jun 2020 16:33:54 +0000 (16:33 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!2022

5 years agoMerge branch 'columnview-menu' into 'master'
Matthias Clasen [Wed, 3 Jun 2020 15:51:26 +0000 (15:51 +0000)]
Merge branch 'columnview-menu' into 'master'

columnview: Add header menus

See merge request GNOME/gtk!2001

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 3 Jun 2020 15:11:59 +0000 (15:11 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

selection model: Further documentation tweaks

See merge request GNOME/gtk!2021

5 years agocolumnview: Make sure focus can move into cells
Benjamin Otte [Wed, 3 Jun 2020 14:55:39 +0000 (16:55 +0200)]
columnview: Make sure focus can move into cells

The cells themselves should never be focusable though.

5 years agoffmediafile: Add fixes for recent cflags changes
Benjamin Otte [Fri, 29 May 2020 20:07:17 +0000 (22:07 +0200)]
ffmediafile: Add fixes for recent cflags changes

Related: #2771

5 years agoselection model: Further documentation tweaks
Matthias Clasen [Wed, 3 Jun 2020 11:51:29 +0000 (07:51 -0400)]
selection model: Further documentation tweaks

Reword this to use plain language instead of throwing
arond reentrancy and ordering.

5 years agoMerge branch 'selection-model-docs' into 'master'
Matthias Clasen [Wed, 3 Jun 2020 05:27:46 +0000 (05:27 +0000)]
Merge branch 'selection-model-docs' into 'master'

selectionmodel: Clarify docs

Closes #2806

See merge request GNOME/gtk!2017

5 years agoselectionmodel: Clarify docs
Matthias Clasen [Tue, 2 Jun 2020 15:14:21 +0000 (11:14 -0400)]
selectionmodel: Clarify docs

Clarify some things that were not clear to me before
discussing them.

Fixes: #2806
5 years agoMerge branch 'carlosgc/emoji-chooser-fixes' into 'master'
Matthias Clasen [Tue, 2 Jun 2020 16:06:47 +0000 (16:06 +0000)]
Merge branch 'carlosgc/emoji-chooser-fixes' into 'master'

Fix emoji chooser warnings on destroy

See merge request GNOME/gtk!2016

5 years agoemojichooser: Unparent the variations popup on dispose and before adding a new one
Carlos Garcia Campos [Tue, 2 Jun 2020 14:35:13 +0000 (16:35 +0200)]
emojichooser: Unparent the variations popup on dispose and before adding a new one

This was causing warnings when destroying the emoji chooser because it
had children left.

5 years agotextview: Unparent the emoji chooser on dispose
Carlos Garcia Campos [Tue, 2 Jun 2020 14:32:13 +0000 (16:32 +0200)]
textview: Unparent the emoji chooser on dispose

This was causing the warning "GtkEmojiChooser is not a child of
GtkTextView" when destroying a GtkTextView if the emoji chooser was
shown.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 2 Jun 2020 04:30:29 +0000 (04:30 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Cosmetic improvements to the filebrowser demo

See merge request GNOME/gtk!2015

5 years agoCosmetic improvements to the filebrowser demo
Matthias Clasen [Tue, 2 Jun 2020 03:12:01 +0000 (23:12 -0400)]
Cosmetic improvements to the filebrowser demo

Make it look good.

5 years agoAdd more columns to the settings demo
Matthias Clasen [Mon, 1 Jun 2020 18:46:12 +0000 (14:46 -0400)]
Add more columns to the settings demo

Flesh out this demo more, so we can have a
non-trivial column editor here at some point.

5 years agoAdd a header menu to settings demo
Matthias Clasen [Sun, 31 May 2020 18:44:42 +0000 (14:44 -0400)]
Add a header menu to settings demo

Allow toggling column visibility from here.

5 years agocolumnviewtitle: Display a context menu
Matthias Clasen [Sun, 22 Dec 2019 03:21:27 +0000 (22:21 -0500)]
columnviewtitle: Display a context menu

When the ::header-menu property is set on the
column, use the menu model to create and show
a context menu.

5 years agocolumnviewcolumn: Add a menu property
Matthias Clasen [Sun, 22 Dec 2019 03:20:42 +0000 (22:20 -0500)]
columnviewcolumn: Add a menu property

Add a ::header-menu property that will be used
to create a context menu for the header of the
column.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 2 Jun 2020 00:07:45 +0000 (00:07 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

print backend: Fix list model handling in dispose

See merge request GNOME/gtk!2013

5 years agoMerge branch 'ebassi/expression-type' into 'master'
Matthias Clasen [Mon, 1 Jun 2020 22:48:26 +0000 (22:48 +0000)]
Merge branch 'ebassi/expression-type' into 'master'

Ebassi/expression type

See merge request GNOME/gtk!2014

5 years agoAdded Slovenian translation
Matej Urbančič [Mon, 1 Jun 2020 20:19:55 +0000 (22:19 +0200)]
Added Slovenian translation

5 years agoDocument how to define properties using GtkExpression
Emmanuele Bassi [Mon, 1 Jun 2020 20:17:34 +0000 (21:17 +0100)]
Document how to define properties using GtkExpression

Use the GtkParamSpecExpression type to describe the property, and the
GValue API to set and get the expression instance.

5 years agoTurn GtkExpression into a GTypeInstance
Emmanuele Bassi [Mon, 1 Jun 2020 20:07:53 +0000 (21:07 +0100)]
Turn GtkExpression into a GTypeInstance

Since it's a type with sub-classes, we need to use GTypeInstance (at the
very least), otherwise we won't be able to address each sub-class as
such.

This is similar to how GskRenderNode and GdkEvent are handled, with the
added difficulty that GtkExpression is meant to be used in properties,
in order to be deserialised by GtkBuilder. This requires adding a
GParamSpec sub-class that we can match on from within GtkBuilder,
alongside some convenience API for storing a GtkExpression inside a
GValue.

5 years agoPrint out the file name we're testing
Emmanuele Bassi [Mon, 1 Jun 2020 20:06:04 +0000 (21:06 +0100)]
Print out the file name we're testing

We're printing out the file we're testing once we succeed, but it's hard
to know which file caused a failure. Let's add a g_test_message()
directive so we can look in our logs.

5 years agogtk-demo: Plug a leak
Matthias Clasen [Mon, 1 Jun 2020 19:16:02 +0000 (15:16 -0400)]
gtk-demo: Plug a leak

We were leaking a reference to the settings demo.
This showed up as gtk4-demo --run listview_settings
not exiting when the window is closed.

5 years agocolumnviewcolumn: Fix visibility implementation
Matthias Clasen [Mon, 1 Jun 2020 18:45:01 +0000 (14:45 -0400)]
columnviewcolumn: Fix visibility implementation

We were not properly syncing initial visibility
with widgets.

5 years agoAdd a test for the previous fix
Matthias Clasen [Mon, 1 Jun 2020 17:50:19 +0000 (13:50 -0400)]
Add a test for the previous fix

This checks that action muxer hierarchy is properly
updated when muxers appear in the middle.

5 years agoUpdate action muxer hierarchy propertly
Matthias Clasen [Mon, 1 Jun 2020 17:49:26 +0000 (13:49 -0400)]
Update action muxer hierarchy propertly

When a new muxer appears, we must not only make it
inherit from the parent, we also have to update all
children to inherit from it.

5 years agoprint backend: Fix list model handling in dispose
Matthias Clasen [Mon, 1 Jun 2020 11:43:54 +0000 (07:43 -0400)]
print backend: Fix list model handling in dispose

The print backends do some complicated dispose handling
where the implementations call gtk_print_backend_destroy().

Our tests (in particular, the templates test) trigger
situations where we use print backends after dispose,
and they can't handle the printers listmodel being
NULL at that time. So just remove the printers in
dispose, keep the empty liststore until finalize.

5 years agoUpdate Indonesian translation
Kukuh Syafaat [Mon, 1 Jun 2020 13:29:20 +0000 (13:29 +0000)]
Update Indonesian translation

5 years agoMerge branch 'gtk-demo-run-no-main-window' into 'master'
Matthias Clasen [Mon, 1 Jun 2020 12:26:15 +0000 (12:26 +0000)]
Merge branch 'gtk-demo-run-no-main-window' into 'master'

gtk-demo: Don't show main window if --run is passed in

See merge request GNOME/gtk!1979

5 years agoMerge branch 'fix-frameclock-going-backwards' into 'master'
Matthias Clasen [Mon, 1 Jun 2020 12:25:20 +0000 (12:25 +0000)]
Merge branch 'fix-frameclock-going-backwards' into 'master'

Fix frameclock going backwards

See merge request GNOME/gtk!2011

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 1 Jun 2020 11:28:28 +0000 (11:28 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

columnview: Add column reordering

See merge request GNOME/gtk!2005

5 years agoMerge branch 'ebassi/scroll-position' into 'master'
Emmanuele Bassi [Mon, 1 Jun 2020 10:32:55 +0000 (10:32 +0000)]
Merge branch 'ebassi/scroll-position' into 'master'

Remove position from GdkScrollEvent

See merge request GNOME/gtk!2012

5 years agoRemove position from GdkScrollEvent
Emmanuele Bassi [Mon, 1 Jun 2020 09:49:33 +0000 (10:49 +0100)]
Remove position from GdkScrollEvent

Scroll events do not have a position, so they shouldn't implement the
GdkEventClass.get_position() virtual function; nor they should have an x
and y fields that never get updated.

5 years agoFix frameclock going backwards
Alexander Larsson [Mon, 1 Jun 2020 08:53:24 +0000 (10:53 +0200)]
Fix frameclock going backwards

When we run the frameclock RUN_FLUSH_IDLE idle before the paint,
then gdk_frame_clock_flush_idle() sets
```
  priv->phase = GDK_FRAME_CLOCK_PHASE_BEFORE_PAINT
```
at the end if there is a paint comming.

But, before doing the paint cycle it may handle other X events, and
during that time the phase is set to BEFORE_PAINT. This means that the
current check on whether we're inside a paint is wrong:

```
  if (priv->phase != GDK_FRAME_CLOCK_PHASE_NONE &&
     priv->phase != GDK_FRAME_CLOCK_PHASE_FLUSH_EVENTS)
    return priv->smoothed_frame_time_base;
```

This caused us to sometimes use this smoothed_frame_time_base even
though we previously reported a later value during PHASE_NONE, thus
being non-monotonic.

We can't just additionally check for the BEGIN_PAINT phase though,
becasue if we are in the paint loop actually doing that phase we
should use the time base. Instead we check for `!(BEFORE_PAINT &&
in_paint_idle)`.

5 years agogtk-demo: Fix a crash in the puzzle
Matthias Clasen [Mon, 1 Jun 2020 04:10:42 +0000 (00:10 -0400)]
gtk-demo: Fix a crash in the puzzle

Avoid a crash when clicking the refresh button
after solving the puzzle.

5 years agogtk-demo: Fix keynav in the puzzle
Matthias Clasen [Mon, 1 Jun 2020 04:09:52 +0000 (00:09 -0400)]
gtk-demo: Fix keynav in the puzzle

We need to make shortcut controller have global
scope, otherwise the shortcuts lose against the
window keybindings.

5 years agogtk-demo: Flesh out the settings demo
Matthias Clasen [Mon, 1 Jun 2020 03:42:36 +0000 (23:42 -0400)]
gtk-demo: Flesh out the settings demo

Add columns for type and default value.

5 years agocolumnview: Add column reordering
Matthias Clasen [Wed, 18 Dec 2019 07:19:48 +0000 (02:19 -0500)]
columnview: Add column reordering

Add an API to allow reordering columns.

5 years agoMerge branch 'action-tests' into 'master'
Matthias Clasen [Sun, 31 May 2020 23:32:44 +0000 (23:32 +0000)]
Merge branch 'action-tests' into 'master'

Action tests

See merge request GNOME/gtk!2003

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 31 May 2020 22:54:38 +0000 (22:54 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Add a forgotten export

See merge request GNOME/gtk!2002

5 years agoMore action tests
Matthias Clasen [Sun, 31 May 2020 20:40:15 +0000 (16:40 -0400)]
More action tests

Test actions under hierarchy changes.

5 years agoAdd a forgotten export
Matthias Clasen [Sun, 31 May 2020 20:47:53 +0000 (16:47 -0400)]
Add a forgotten export

gtk_column_view_sort_by was missing a GDK_AVAILABLE_IN_ALL
annotation, causing it to not be exported.

5 years agotestsuite: Beef up action tests
Matthias Clasen [Sun, 31 May 2020 19:36:41 +0000 (15:36 -0400)]
testsuite: Beef up action tests

Check return values from  gtk_widget_activate.

5 years agoMerge branch 'column-visible' into 'master'
Matthias Clasen [Sun, 31 May 2020 20:39:06 +0000 (20:39 +0000)]
Merge branch 'column-visible' into 'master'

columnview: Add a GtkColumnViewColumn:visible property

See merge request GNOME/gtk!1997

5 years agoMerge branch 'drop-coverflow' into 'master'
Emmanuele Bassi [Sun, 31 May 2020 19:12:32 +0000 (19:12 +0000)]
Merge branch 'drop-coverflow' into 'master'

Drop GtkCoverFlow for now

See merge request GNOME/gtk!2000

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Sun, 31 May 2020 19:05:20 +0000 (19:05 +0000)]
Update Ukrainian translation

5 years agoMerge branch 'drop-fallback-c89' into 'master'
Matthias Clasen [Sun, 31 May 2020 18:14:14 +0000 (18:14 +0000)]
Merge branch 'drop-fallback-c89' into 'master'

Drop fallback-c89.c

See merge request GNOME/gtk!1999

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 31 May 2020 18:13:36 +0000 (18:13 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1995

5 years agoDrop GtkCoverFlow for now
Matthias Clasen [Sun, 31 May 2020 17:11:35 +0000 (13:11 -0400)]
Drop GtkCoverFlow for now

There is no agreement that a coverflow widget is
appropriate for GTK 4.

It would be ok as a demo if it could live in gtk-demo,
but that requires us to make GtkListBase public first.
The demo is also somewhat rough and needs more work
to look plausible.

Drop GtkCoverFlow and the related demo for now.

5 years agogtk-demo: Fixes for the sliding puzzle
Matthias Clasen [Sun, 31 May 2020 15:02:36 +0000 (11:02 -0400)]
gtk-demo: Fixes for the sliding puzzle

We were calling check_solved only for key presses,
meaning you could never solve the puzzle with the
mouse.

5 years agogtk-demo: Some fixes to awards
Matthias Clasen [Sun, 31 May 2020 14:45:22 +0000 (10:45 -0400)]
gtk-demo: Some fixes to awards

Fix things up enough to make the list show up.
Still not a working example, but closer.

5 years agoprinter: Fix the default value of icon-name
Matthias Clasen [Sun, 22 Dec 2019 23:09:07 +0000 (18:09 -0500)]
printer: Fix the default value of icon-name

Just set this to "printer", so we don't have
to fix it up in the print dialog.

5 years agoprintbackend: Add a list model getter
Matthias Clasen [Sun, 22 Dec 2019 19:49:26 +0000 (14:49 -0500)]
printbackend: Add a list model getter

Now that we have a list model for printers,
we can start using it.

5 years agoprintbackend: Use a list store
Matthias Clasen [Sun, 22 Dec 2019 19:43:48 +0000 (14:43 -0500)]
printbackend: Use a list store

5 years agogtk-demo: Add more scrolling benchmarks
Matthias Clasen [Sun, 22 Dec 2019 17:27:30 +0000 (12:27 -0500)]
gtk-demo: Add more scrolling benchmarks

Add a listview and gridview to the scrolling
benchmarks.

5 years agoMerge branch 'ebassi/annotations' into 'master'
Emmanuele Bassi [Sun, 31 May 2020 15:18:36 +0000 (15:18 +0000)]
Merge branch 'ebassi/annotations' into 'master'

Ebassi/annotations

See merge request GNOME/gtk!1996

5 years agoDrop fallback-c89.c
Christoph Reiter [Sun, 31 May 2020 14:06:07 +0000 (16:06 +0200)]
Drop fallback-c89.c

We require a C compiler supporting C99 now. The main purpose of
these fallbacks was for MSVC. From what I can see this is now all supported
by MSVC 2015+ anyway.

The only other change this includes is to replace isnanf() with the
(type infering) C99 isnan() macro, because MSVC doesn't provide isnanf().

5 years agocolumnviewcolumn: Add a visible property
Matthias Clasen [Mon, 16 Dec 2019 19:01:42 +0000 (14:01 -0500)]
columnviewcolumn: Add a visible property

This lets us hide columns, which is an expected
feature of columned lists.

5 years agoAnnotate the GtkFunctionListItemFactory constructor
Emmanuele Bassi [Sun, 31 May 2020 14:14:26 +0000 (15:14 +0100)]
Annotate the GtkFunctionListItemFactory constructor

But skip it, since it cannot really be used by language bindings, as it
binds the same user data to two separate functions.

5 years agoFix annotations for gtk_cclosure_expression_new()
Emmanuele Bassi [Sun, 31 May 2020 14:10:27 +0000 (15:10 +0100)]
Fix annotations for gtk_cclosure_expression_new()

Missing scope annotations for the various functions.

5 years agoMerge branch 'columnview-1' into 'master'
Matthias Clasen [Sun, 31 May 2020 14:06:31 +0000 (14:06 +0000)]
Merge branch 'columnview-1' into 'master'

Convert the inspector to column views

See merge request GNOME/gtk!1994

5 years agoAdd missing separator
Emmanuele Bassi [Sun, 31 May 2020 14:05:59 +0000 (15:05 +0100)]
Add missing separator

An annotation is separated from the description by a ':'.

5 years agodocs: Fix annotations
Emmanuele Bassi [Sun, 31 May 2020 14:04:51 +0000 (15:04 +0100)]
docs: Fix annotations

 - Use the same name for the argument in the declaration, definition,
   and documentation
 - Use "optional" instead of the deprecated "allow-none"

5 years agofallback-c89: Try to make isnanf work
Christoph Reiter [Sun, 31 May 2020 13:09:31 +0000 (15:09 +0200)]
fallback-c89: Try to make isnanf work

5 years agoinspector: Touch up list styling
Matthias Clasen [Sun, 8 Dec 2019 17:53:46 +0000 (12:53 -0500)]
inspector: Touch up list styling

This is just the minimal amount of work to make
headers recognizable.

5 years agoinspector: Use a column view for actions
Matthias Clasen [Sun, 8 Dec 2019 06:09:59 +0000 (01:09 -0500)]
inspector: Use a column view for actions

A straight conversion from list box to column view.

5 years agoinspector: Make the resource list sortable
Matthias Clasen [Sun, 8 Dec 2019 21:02:14 +0000 (16:02 -0500)]
inspector: Make the resource list sortable

This is using a GtkTreeListRowSorter to keep expanded
state of the tree while changing the sorting.

5 years agoinspector: Use a column view for the resource list
Matthias Clasen [Sun, 8 Dec 2019 03:26:35 +0000 (22:26 -0500)]
inspector: Use a column view for the resource list

A conversion from tree view to column view.

5 years agoinspector: Use a column view for properties
Matthias Clasen [Tue, 3 Dec 2019 02:00:22 +0000 (21:00 -0500)]
inspector: Use a column view for properties

Just a straight conversion from list box to column view.

5 years agoinspector: Add columns to the object tree
Matthias Clasen [Wed, 18 Dec 2019 04:51:11 +0000 (23:51 -0500)]
inspector: Add columns to the object tree

Add columnview columns in the object tree.
We do the same for treeview columns.

5 years agoMerge branch 'fix-mnemonic-zero' into 'master'
Matthias Clasen [Sun, 31 May 2020 13:02:51 +0000 (13:02 +0000)]
Merge branch 'fix-mnemonic-zero' into 'master'

label: Fix mnemonic zero

Closes #2805

See merge request GNOME/gtk!1993

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Sun, 31 May 2020 06:12:49 +0000 (06:12 +0000)]
Update Ukrainian translation

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Sun, 31 May 2020 06:09:05 +0000 (06:09 +0000)]
Update Ukrainian translation

5 years agoMerge branch 'dropdown-for-merge' into 'master'
Matthias Clasen [Sun, 31 May 2020 05:34:18 +0000 (05:34 +0000)]
Merge branch 'dropdown-for-merge' into 'master'

Dropdown for merge

Closes #2214

See merge request GNOME/gtk!1992

5 years agoMerge branch 'listview-for-merge' into 'master'
Matthias Clasen [Sun, 31 May 2020 05:32:37 +0000 (05:32 +0000)]
Merge branch 'listview-for-merge' into 'master'

Listview for merge

Closes #2214

See merge request GNOME/gtk!1991